Skip to main content

CreateIpv6Gateway

Description

call CreateIpv6Gateway interface to create IPv6 gateway.

Request Method

POST

Request Path

/apsara/route/Vpc/CreateIpv6Gateway

Request Parameters Common Parameters

NameLocationTypeRequiredSample valueDescription
DescriptionBODYstringNoipv6gatewayforVPC1description information of IPv6 gateway. is 2-256 characters in length and must start with letters or Chinese, can contain numbers, dots (.), underscore (_) and dash (-), but you cannot use http:// or https:// beginning.
VpcIdBODYstringYesvpc-123456defrde****VPC ID of IPv6 gateway to be activated.
regionIdBODYstringYesNo sample value for this parameter.region id
RegionIdBODYstringYescn-huhehaotethe region of the IPv6 gateway. You can obtain the region ID by calling the DescribeRegions interface.
ClientTokenBODYstringNo123456client token to ensure the idempotence of the request. the parameter value is generated by the client, which must be unique between different requests and the maximum value does not exceed 64 ASCII characters.
SpecBODYstringNoSmallIPv6 gateway specifications. Value: Small(default): free version. Medium: enterprise edition. Large: enterprise enhanced version.
versionBODYstringNo2016-01-01version of api
NameBODYstringNoipv6GWthe name of the IPv6 gateway. is 2-128 characters in length and must start with letters or Chinese, can contain numbers, dots (.), underscore (_) and dash (-), but you cannot use http:// or https:// beginning.

Return data

NameTypeSample valueDescription
RequestIdstring0ED8D006-F706-4D23-88ED-E11ED28DCACrequest ID.
Ipv6GatewayIdstringipv6gw-hp3y0l3ln89j8bgnh****IPv6 gateway ID.

Example

Successful Response example

{
"RequestId":"0ED8D006-F706-4D23-88ED-E11ED28DCAC",
"Ipv6GatewayId":"ipv6gw-hp3y0l3ln89j8bgnh****"
}

Failed Response example

{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}

}